<template>
	<view>
		<uv-navbar :title="type" :placeholder="true" :autoBack="true"></uv-navbar>
		<view class="modelBox" v-html="obj.content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				obj:{},
				type:''
			};
		},
		onLoad(res) {
			this.type = res.type
			this.getProtocol(res.type)
		},
		onShow() {
			
		},
		methods:{
			getProtocol(type) {
				this.$api.sendRequest({
					url:'/api/Index/article',
					data:{
						type:type
					},success:res=>{
						this.obj = res.data
					}
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
